package com.tencent.mid.util;

public class i
{
  public static String a(byte[] paramArrayOfByte)
  {
    StringBuilder localStringBuilder = new StringBuilder("");
    if ((paramArrayOfByte == null) || (paramArrayOfByte.length <= 0))
      return null;
    int i = 0;
    while (i < paramArrayOfByte.length)
    {
      String str = Integer.toHexString(paramArrayOfByte[i] & 0xFF);
      if (str.length() < 2)
        localStringBuilder.append(0);
      localStringBuilder.append(str);
      i += 1;
    }
    return localStringBuilder.toString().toUpperCase();
  }
}